package net.wanho.study.mapper;

import net.wanho.study.entity.User;
import org.apache.ibatis.annotations.Param;

/**
* @author Administrator
* @description 针对表【t_user(用户表)】的数据库操作Mapper
* @createDate 2023-12-13 09:41:29
* @Entity net.wanho.study.entity.User
*/
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    void updateStatus(@Param("id") Integer id,@Param("status") Integer status);
}
